<div id="firstpage">
  <div data-role='page' id='front'>
    <div id="before">
    </div>
    <div id="after" style="display:none;">
      <div data-role='header' >
        <div class="header" >囧人英语</div>
      </div>
      <div data-role='content'>
        <div class='center' id='menu' style="margin:30px;"></div>      
        <div id='shengcilist'></div>
        <ul id="logs" style="display:none;"></ul>
      </div>
      <div data-role='footer' class="center">
        2012.9.4 09:32<span style="float:right;color:black;" onclick="$('#front #logs').toggle();">.</span>
      </div>
    </div>
  </div>
</div>
<div id="pages">
  <div data-role='page' id='front'>
    <div data-role='header' >
      <div class="header" >囧人英语</div>
    </div>
    <div data-role='content'>
      <div class='center' id='menu' style="margin:30px;"></div>      
      <div id='shengcilist'></div>
      <ul id="logs" style="display:none;"></ul>
    </div>
    <div data-role='footer' class="center">
      2012.9.4 09:32<span style="float:right;color:black;" onclick="$('#front #logs').toggle();">.</span>
    </div>
  </div>
  <div data-role='page' id='chaxun'>
    <div data-role='header' >
      <div class="header">囧人英语</div>
    </div>
    <div data-role='content'>
      <input name="" id="searchinput" placeholder="输入单词，回车查询。" value="" >
      <div class="header"><span id="word" ></span> <img src="" ></div>
      <div id="explan"></div>
      <a data-role="button" data-rel="back">返回</a>
    </div>
  </div>
  
  <div data-role='page' id='fml'>
    <div data-role='header' >
      <div class="header">囧人英语</div>
    </div>
    <div data-role='content'>
      <div id="posts0"></div>
      <div id="posts1"></div>
      <a data-role="button" data-rel="back" >返回</a>
    </div>
  </div>
  
</div>

<script type="text/javascript">
  $("head").append('<meta name="viewport" content="width=device-width, initial-scale=1">');
  var pages = $("#pages").html();
  $("body").html( $("#firstpage").html() );
  
  if (typeof(rooturl)=='undefined'){
    window.rooturl="http://zhuazi.googlecode.com/svn/mobile/v3/";
  }
  
    //载入sea
  ;(function(m, o, d, u, l, a, r) {
    if(m[d]) return;
    function f(n, t) { return function() { r.push(n, arguments); return t } }
    m[d] = a = { args: (r = []), config: f(0, a), use: f(1, a) };
    m.define = f(2);
    u = o.createElement('script');
    u.id = d + 'node';
    u.src = rooturl+'lib/sea.js';
    l = o.getElementsByTagName('head')[0];
    a = o.getElementsByTagName('base')[0];
    a ? l.insertBefore(u, a) : l.appendChild(u);
  })(window, document, 'seajs');
  
  seajs.config({
    alias: {
    },
    preload:[      
      'http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.css',
      'http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.min.js',
      'main'
    ],
    debug:true,
    base:rooturl
  });
  
  seajs.use(['main'],function(main){
    main.init(pages);
  });  
  document.write=function(x){console.log(x)};
</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=15310238" charset="UTF-8"></script>